import {customeStruct} from '../utils';
const itf = customeStruct.interface;
export const InitData = itf({
    payload: itf({
        brands: [itf({
            id: 'string',
            name: 'string'
        })],
    })
});
export const List = itf({
    payload: itf({
        content: [itf(Object.assign({
            id: 'string',
            code: 'string',
            brandCode: 'string',
            shareRate: 'number',
            endDate: 'datetime',
            rowVersion: 'string',
        }))],
        totalElements: 'number',
    })
});
export const Detail = itf({
    payload: itf(Object.assign({
        id: 'string',
        code: 'string',
        brandCode: 'string',
        shareRate: 'number',
        endDate: 'datetime',
        rowVersion: 'string',
    }))
});
export const DutyUnitList = itf({
    payload: itf({
        content: [
            itf({
                id: 'string',
                code: 'string',
                type: 'number',
            })
        ]
    })
});
